appeal to (someone's) vanity

Translations
взывать к (чьему-либо) тщеславию
The advertisement was designed to appeal to the customer's vanity rather than their needs.
Реклама была разработана для того, чтобы взывать к тщеславию клиента, а не к его нуждам.
Definitions
To flatter or compliment someone in order to influence them or gain their favor by making them feel proud or self-important.
Words
vanity

noun
тщеславие
appeal to

verb
обращаться